package com.hakim.wfb.customer.params.user;

import com.hkfs.fundamental.api.params.BaseParameter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 用户登录参数
 */
public class LoginUserParameter extends BaseParameter {

    /**
     * 登录名
     */
    @NotBlank(message = "登录名不能为空")
    private String userCode;

    /**
     * 登录密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 终端类型
     */
    @NotNull
    private Integer terminalType;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getTerminalType() {
        return terminalType;
    }

    public void setTerminalType(Integer terminalType) {
        this.terminalType = terminalType;
    }
}
